package com.itheima.mianendtest;

public class User {
    @MyTest
    public void method1(){
        int[] arr=null;
        arr[0]=1;
        System.out.println("方法一");
    }
    @MyTest
    public void method2(){
        int a=10/0;
        System.out.println("方法二");
    }
    @MyTest
    public void method3(){
        Object o = new Object();
        String s=(String) o;
        System.out.println("方法三");
    }
    @MyTest
    public void method4(){
        System.out.println("方法三");
    }
}
